import i18n from '@/lang'
export const exceptionLogTbColumns = [
  {
    dataIndex: 'taskName',
    key: 'taskName',
    title: i18n.t('campaignName'),
    scopedSlots: { customRender: 'campaignName' },
    width: 200
  },
  {
    dataIndex: 'messageType',
    key: 'messageType',
    title: i18n.t('messageType'),
    scopedSlots: { customRender: 'messageType' },
    width: 100
  },
  {
    dataIndex: 'createTime',
    key: 'createTime',
    title: '诊断/失败报文上传时间',
    scopedSlots: { customRender: 'reportingTime' },
    width: 200,
    sorter: true
  },
  {
    title: i18n.t('operation'),
    key: 'action',
    scopedSlots: { customRender: 'action' },
    width: 200
  }
]
export const carExceptionLogTbColumns = [
  {
    dataIndex: 'taskName',
    key: 'taskName',
    title: i18n.t('campaignName'),
    scopedSlots: { customRender: 'campaignName' },
    width: 200
  },
  {
    dataIndex: 'messageType',
    key: 'messageType',
    title: i18n.t('messageType'),
    scopedSlots: { customRender: 'messageType' },
    width: 100
  },
  {
    dataIndex: 'createTime',
    key: 'createTime',
    title: '报文生成时间',
    scopedSlots: { customRender: 'reportingTime' },
    width: 200,
    sorter: true
  },
  {
    dataIndex: 'file.name',
    key: 'file.name',
    title: '日志文件名',
    width: 150,
  },
  {
    title: i18n.t('operation'),
    key: 'operation',
    scopedSlots: { customRender: 'operation' },
    width: 200
  }
]